import { Button } from 'ant-design-vue';

interface Props {
  name: string;
  [key: string]: any;
}

export const genButtonRender = (props: Props) => {
  const { name, ...otherProps } = props;
  return <Button {...otherProps}>{name}</Button>;
};
